﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;

namespace HDJ.Framework.Core
{
    public struct LogInfo
    {
        public int index;
        public LogType logType;

        public string logString;
        public string stackTrace;

        public LogInfo(int index,LogType logType,string logString,string stackTrace)
        {
            this.index = index;
            this.logType = logType;
            this.logString = logString;
            this.stackTrace = stackTrace;
        }

        public override string ToString()
        {
            return logString+"\n"+stackTrace;
        }
    }
}
